package com.nil.codegen.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class DataSourceDTO {

    @ApiModelProperty(value = "数据源名称")
    private String name;

    @ApiModelProperty(value = "驱动id")
    private String driverId;

    @ApiModelProperty(value = "ip")
    private String host;

    @ApiModelProperty(value = "端口")
    private Integer port;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "数据库")
    private String dbName;

    @ApiModelProperty(value = "模式")
    private String schema;

}
